﻿namespace YY.Admin.Application.Service
{
    public interface ISysUserService
    {
        Task<List<SysUser>> GetUsersAsync();
        Task<SysUser?> GetUserByIdAsync(int id);
        Task<bool> CreateUserAsync(SysUser user);
        Task<bool> UpdateUserAsync(SysUser user);
        Task<bool> DeleteUserAsync(int id);
    }
}
